{extend name="public/base"}

{block name="title"}香港六合彩预测列表{/block}

{block name="main"}
<!--数据列表-->
<!--  搜索添加   -->
<form action="{:url('/hkyc')}" class="layui-form layui-form-pane">
    <div class="layui-row">
        <div class="layui-col-md2 ">
            <div class="layui-form-item">
                <label for="forecast_type" class="layui-form-label">预测类型：</label>
                <div class="layui-input-block">
                    <select name="forecast_type" id="forecast_type" class="custom-select">
                        <option selected value="">选择预测类型：</option>
                        <option value="1">平特1肖</option>
                        <option value="2">特码大小</option>
                        <option value="3">特码单双</option>
                        <option value="4">特码24码</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md2 ">
            <div class="layui-form-item" >
                <label for="iswin" class="layui-form-label">预测结果：</label>
                <div class="layui-input-block">
                    <select name="iswin" id="iswin" class="custom-select">
                        <option selected value="">选择预测结果：</option>
                        <option value="中">中</option>
                        <option value="错">错</option>
                        <option value="等开">等开</option>
                    </select>
                </div>
            </div>

        </div>
        <div class="layui-col-md3 ">
            <button class="layui-btn layui-btn-normal">搜索</button>
        </div>
    </div>
</form>
<table class="layui-table">
    <thead class="bg-light">
    <tr>
        <th class="text-center">ID</th>
        <th class="text-center">预测类型</th>
        <th class="text-center">开始期号</th>
        <th class="text-center">结束期号</th>
        <th class="text-center">预测内容</th>
        <th class="text-center">预测结果</th>
        <th class="text-center">操作</th>
    </tr>
    </thead>
    <tbody>

    {assign name="empty" value='<tr><td colspan="7" class="text-center text-muted">没有数据</td></tr>'}
    {volist name="list" id="obj" empty="$empty"}
    <tr>

        <td class="text-center">{$obj.id}</td>
        <td class="text-center">{$obj.forecast_type}</td>
        <td class="text-center">{$obj.start_issue}</td>
        <td class="text-center">{$obj.end_issue}</td>
        <td class="text-center">{$obj.forecast_content}</td>
        <td class="text-center">{$obj.iswin[0]}</td>
        <td class="text-center">
            <form action="{:url('/hkyc/'.$obj.id)}" method="post">
                <a href="{:url('/hkyc/'.$obj.id.'/edit')}" class="layui-btn layui-btn-warning layui-btn-sm">修改</a>
            </form>
        </td>
    </tr>
    {/volist}
    </tbody>
</table>

<!--分页-->
{/block}

{block name="js"}
<script type="text/javascript">

</script>
{/block}
